POLI_N.DLL Plugin for FindGraph.exe (www.uniphiz.com/findgraph.htm) * ************************************************************** How to use: Place DISTLINE.DLL in the program FindGraph subfolder "Appr". Start FundGraph. Start The Wizard of approximation. On step 2 select 'User defined function'. If all right, on step 3 your function will appear in list. Approximation function: V(U) = A0 + A1*U + ... +An*U^N Find the line that minimizes the perpendicular distance between line and points. This is so called 'Deming regression'. It fits a polynomial line assuming equal experimental errors in both U and V. In contrast, ordinary regression assumes that the U values are known precisely and all the experimental error is in V. Important, U and V must be in the same units. Parameters: If 1, fixed point (U0, V0) on resulting line. N = pow of polynomial approximation in limits from 0 to +4 Example: N=1, U0=0, V0=0 V(U) = A0 + A1*U Questions: Sergey Vasilyev serg@uniphiz.com